package eclipse.server;
import eclipse.lib.player.*;
import eclipse.lib.sockets.*;
import eclipse.server.threadpool.*;
/** Specific Values that the Server uses. */
public class Database 
{
	/** Object that represents the Threads */
	public static ThreadCache	threadCache;
	/** Object that represents the Sockets */
	public static ClientSocket client[];
	/** Object that represents the Server */
	public static ServerSocket server;
	/** Miliseconds between checking if there is data at a Socket */
	public static int NETPROCESSINTERVAL	= 10;
	/** Number of Clients that can connect.*/
	public static int CLIENTNUM				= 5;
	/** Port that the Server listens off of */
	public static int PORTNUM				= 4001;
	/** Time to wait between Client connections */
	public static int CLIENTTIMEOUT			= 2000;
	/** Number of Players that can connect. */
	public static int MAXPLAYERS			= 5;
	/** Number of items to load */
	public static int MAXITEMS				= 5;
	/** Number of NPCs to load */
	public static int MAXNPCS				= 5;
	/** Number of Spells to load */
	public static int MAXSPELLS				= 5;
	/** Number of Classes to load */
	public static int MAXCLASSES			= 5;
	/** Number of maps to load */
	public static int MAXMAPS				= 5;
	/** Number of Shops to load */
	public static int MAXSHOPS				= 5;
	/** Maximum value for a player's inventory */
	public static int MAXPLAYERINVENTORY	= 20;
	/** Maximum value for a player's spells */
	public static int MAXPLAYERSPELLS		= 20;
	/** Object that represents each player. */
	public static Player player[];
	public static String SCRIPTPATH			= "Scripts/main.txt";
}